let Router = require('@koa/router');

let router = new Router();

router.get('/', (ctx, next) => {
    ctx.body = 'Hello World!';
});

router.post('/users', (ctx, next) => {
    // ...
});

router.put('/users/:id', (ctx, next) => {
    // ...
});

router.del('/users/:id', (ctx, next) => {
    // ...
});

router.all('/users/:id', (ctx, next) => {
    // ...
});

module.exports = router;
